package com.service.impl;

import com.dao.ChausesDao;
import com.dto.Chauses;
import com.service.ChausesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by hxw on 2017-6-5.
 */
@Service(value = "chausesServiceImpl")
public class ChausesServiceImpl implements ChausesService {
    @Resource(name = "chausesDaoImpl")
    private ChausesDao cd;
    @Override
    public List<Chauses> getRecordList() {
        return cd.getRecordList();
    }

    @Override
    public String saveChauses(Chauses chauses) {
        String s = cd.saveChauses(chauses);
        return s;
    }
}
